#ifndef WIDGET4_H
#define WIDGET4_H

#include <QWidget>
#include <QString>
#include "project.h"
#include "form4_1.h"
#include "widget.h"

namespace Ui {
class Widget4;
}

class Form4_1;

class Widget4 : public QWidget
{
    Q_OBJECT

public:
    explicit Widget4(FlightBookingSystem& system,Widget *las,Flight &f,QWidget *parent = nullptr);
    ~Widget4();

    Form4_1 *page4_1=nullptr;
    Widget *last=nullptr;

    FlightBookingSystem& bookingSystem;

    Flight &flight;

signals:
    void back();

private slots:
    void on_pushButton_cancel_clicked();

    void on_pushButton_determine_clicked();

    void on_lineEdit1_textChanged(const QString &arg1);

    void on_lineEdit2_textChanged(const QString &arg1);

private:
    Ui::Widget4 *ui;
};

#endif // WIDGET4_H
